var Runner = require ("mocha-runner");

new Runner ({
    //If the reporter is not specified "dot" is used by default
    reporter: "list",

    tests: ["register","login"]
}).run (function (error){
    //It's not the Mocha stderr
    if (error) console.log (error);
});
